CC=/usr/bin/gcc
CFLAGS=`pkg-config --cflags xmms2-client xmms2-client-glib gnt` -g -O0 -Wall -I/usr/include/ncursesw/
LDFLAGS=`pkg-config --libs xmms2-client xmms2-client-glib gnt` -lncursesw -lpanelw

sources=gx.c gxplaylist.c utils.c
headers=gntxmms.h gxplaylist.h utils.h

all: gx

clean:
	rm -f *.o gx

gx: gx.o utils.o gxplaylist.o

gx.o: gx.c $(headers)

utils.o: utils.c $(headers)

gxplaylist.o: gxplaylist.c $(headers)

